public class Test {
    public static void main(String[] args){
        BinaryTree binaryTree = new BinaryTree();
        BinaryTree.TreeNode root = binaryTree.createTree();
        System.out.print("层序遍历:");
        binaryTree.levelOrder(root);
        System.out.println("\n是否为完全二叉树:" + binaryTree.isCompleteTree(root));
    }
}
